package com.goktech.olala.server.pojo.goods;

import java.util.Date;

/**
 * @author wjs
 */
public class Category {
    protected Integer categoryId;

    protected String categoryName;

    protected String parentId;

    protected String keywords;

    protected String catyDesc;

    protected Integer sortOrl;

    protected Integer isShowInNav;

    protected Byte grade;

    protected String filterAttr;

    protected Integer isShow;

    protected Integer isEnabled;

    protected Date createTime;

    protected String createBy;

    protected Date updateTime;

    protected String updateBy;

    public Category() {
    }

    public Category(Integer categoryId, String categoryName, String parentId, String keywords, String catyDesc, Integer sortOrl, Integer isShowInNav, Byte grade, String filterAttr, Integer isShow, Integer isEnabled, Date createTime, String createBy, Date updateTime, String updateBy) {
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.parentId = parentId;
        this.keywords = keywords;
        this.catyDesc = catyDesc;
        this.sortOrl = sortOrl;
        this.isShowInNav = isShowInNav;
        this.grade = grade;
        this.filterAttr = filterAttr;
        this.isShow = isShow;
        this.isEnabled = isEnabled;
        this.createTime = createTime;
        this.createBy = createBy;
        this.updateTime = updateTime;
        this.updateBy = updateBy;
    }

    @Override
    public String toString() {
        return "Category{" +
                "categoryId=" + categoryId +
                ", categoryName='" + categoryName + '\'' +
                ", parentId='" + parentId + '\'' +
                ", keywords='" + keywords + '\'' +
                ", catyDesc='" + catyDesc + '\'' +
                ", sortOrl=" + sortOrl +
                ", isShowInNav=" + isShowInNav +
                ", grade=" + grade +
                ", filterAttr='" + filterAttr + '\'' +
                ", isShow=" + isShow +
                ", isEnabled=" + isEnabled +
                ", createTime=" + createTime +
                ", createBy='" + createBy + '\'' +
                ", updateTime=" + updateTime +
                ", updateBy='" + updateBy + '\'' +
                '}';
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords == null ? null : keywords.trim();
    }

    public String getCatyDesc() {
        return catyDesc;
    }

    public void setCatyDesc(String catyDesc) {
        this.catyDesc = catyDesc == null ? null : catyDesc.trim();
    }

    public Integer getSortOrl() {
        return sortOrl;
    }

    public void setSortOrl(Integer sortOrl) {
        this.sortOrl = sortOrl;
    }

    public Integer getIsShowInNav() {
        return isShowInNav;
    }

    public void setIsShowInNav(Integer isShowInNav) {
        this.isShowInNav = isShowInNav;
    }

    public Byte getGrade() {
        return grade;
    }

    public void setGrade(Byte grade) {
        this.grade = grade;
    }

    public String getFilterAttr() {
        return filterAttr;
    }

    public void setFilterAttr(String filterAttr) {
        this.filterAttr = filterAttr == null ? null : filterAttr.trim();
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public Integer getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Integer isEnabled) {
        this.isEnabled = isEnabled;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }
}